package com.tledu.production.service.device;

import com.tledu.production.model.device.DeviceMaintain;

import java.util.List;

public interface DeviceMaintainService {
    //分页
    List<DeviceMaintain> list();


    //添加
    int insert(DeviceMaintain deviceMaintain);

    //更新
    int update(DeviceMaintain deviceMaintain);
    //删除
    int delete(String deviceMaintainId);


    //根据id查询
    DeviceMaintain findById(String deviceMaintainId);

    //按字段搜索
    List<DeviceMaintain> search(String type, String  searchText);

    //根据id去找对应的备注(富文本)
    String findEdit(String deviceMaintainId);

    //富文本保存
    int save(String deviceMaintainId);
}
